﻿using Model.CustomDataType;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model.Medicine
{
    public class MedicineDetail:MarshalByRefObject
    {
        private int medDetailId;
        private int medId;
        private int manufacturerId;
        private CMDateTime importDate;
        private CMDateTime productDate;
        private CMDateTime expirationDate;
        private int remainingQuantity;
        private int cost;
        private short status;

        public MedicineDetail()
        {
        }
        public MedicineDetail(int medId, int manufacturerId, CMDateTime importDate,
                CMDateTime productDate, CMDateTime expirationDate)
        {
            this.medId = medId;
            this.manufacturerId = manufacturerId;
            this.importDate = importDate;
            this.productDate = productDate;
            this.expirationDate = expirationDate;
            this.status = 1;
        }

        public int getMedDetailId()
        {
            return medDetailId;
        }
        public void setMedDetailId(int medDetailId)
        {
            this.medDetailId = medDetailId;
        }
        public int getMedId()
        {
            return medId;
        }
        public void setMedId(int medId)
        {
            this.medId = medId;
        }
        public int getManufacturerId()
        {
            return manufacturerId;
        }
        public void setManufacturerId(int manufacturerId)
        {
            this.manufacturerId = manufacturerId;
        }
        public CMDateTime getImportDate()
        {
            return importDate;
        }
        public void setImportDate(CMDateTime importDate)
        {
            this.importDate = importDate;
        }
        public CMDateTime getProductDate()
        {
            return productDate;
        }
        public void setProductDate(CMDateTime productDate)
        {
            this.productDate = productDate;
        }
        public CMDateTime getExpirationDate()
        {
            return expirationDate;
        }
        public void setExpirationDate(CMDateTime expirationDate)
        {
            this.expirationDate = expirationDate;
        }
        public int getRemainingQuantity()
        {
            return remainingQuantity;
        }
        public void setRemainingQuantity(int remainingQuantity)
        {
            this.remainingQuantity = remainingQuantity;
        }
        public int getCost()
        {
            return cost;
        }
        public void setCost(int cost)
        {
            this.cost = cost;
        }
        public short getStatus()
        {
            return status;
        }
        public void setStatus(short status)
        {
            this.status = status;
        }


    }
}
